package com.ssy.lingxi.platform.manage.model.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 分类管理 - 返回实体类
 * @author fhj
 * @version 2.0.0
 * @date 2021/04/25
 */
@Data
public class ContentCategoryResponse {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "第一级id（冗余字段。给第三级分类使用，第一二级没用。）")
    private Long firstId;

    @ApiModelProperty(value = "父id")
    private Long parentId;

    @ApiModelProperty(value = "分类名称")
    private String name;

    @ApiModelProperty(value = "分类描述")
    private String describe;

    @ApiModelProperty(value = "是否推荐：0.否；1.是；")
    private Integer status;

    @ApiModelProperty(value = "级别")
    private Integer level;

    @ApiModelProperty(value = "下级分类")
    private List<ContentCategoryResponse> list;
}
